package com.china08.yxyapi.entity.mg.continuedu;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 继续教育 用户-任务统计
 * 
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.tea.continuedu.statistics.user.task")
public class YxyContinueduStatisticsUserTask extends MongoBaseEntityNoId {

    @Id
    private String id;// id,使用 userId 唯一

    @Field(value = "user_id")
    private String userId;

    @Field(value = "finish_count")
    private Long finishCount;// 我完成的任务数量

    @Field(value = "my_score")
    private Long myScore;// 我的总分数

    @Field(value = "lesson_count")
    private Long lessonCount;// 我的学习课程数量

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getFinishCount() {
        return finishCount;
    }

    public void setFinishCount(Long finishCount) {
        this.finishCount = finishCount;
    }

    public Long getMyScore() {
        return myScore;
    }

    public void setMyScore(Long myScore) {
        this.myScore = myScore;
    }

    public Long getLessonCount() {
        return lessonCount;
    }

    public void setLessonCount(Long lessonCount) {
        this.lessonCount = lessonCount;
    }

}
